<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="completo">

<table bgcolor="#EEEEEE" class="body" border="0" cellspacing="8" cellpadding="0" width="100%">
<tr><td colspan="4" align="center">
Wow! Hai completato il test!
</td></tr>
<tr><td colspan="4" align="center">
Hai raggiunto il <xsl:value-of select="format-number(100-100*(140-@yTotal) div 140,'##')"/>% di purezza.
</td></tr>
<tr><td colspan="4" align="center">
<a style="text-decoration: none;" href="userProfile.aspx">Torna ad ammirare il tuo profilo adesso.</a>
</td></tr>
</table>
</xsl:template>

</xsl:stylesheet>